package com.lebang.feign.fallback;

import com.lebang.feign.ListenBookFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

/**
 * @author ljx
 */
@Component
public class ListenBookFallback implements ListenBookFeign {
    @Override
    public JsonData addHistory(RequestUserInfo request, String bookId, String bookMessage) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getHistory(RequestUserInfo request, Integer page, Integer limit) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getNewHistory(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData delHistory(RequestUserInfo request, String bookId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData delAllHistory(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData addSearchRecord(RequestUserInfo request, String content) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getSearchRecord(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData delSearchRecord(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getCategory(RequestUserInfo request) {
        return FAIL_JSON;
    }

    @Override
    public JsonData updateCategory(RequestUserInfo request, String category) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getUnlockChapters(RequestUserInfo request, String bookId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData unlockChapters(RequestUserInfo request, String bookId, String chapters) {
        return FAIL_JSON;
    }
}
